<!DOCTYPE html>
<html>
<head>
	<title>机械电子工程学院后台管理系统</title>
	<meta charset="utf-8"/>
	<link rel="stylesheet" type="text/css" href="{{base_url()}}Public/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="{{base_url()}}Public/css/index.css">
</head>
<body>
	<div class="navbar navbar-default navbar-fixed-top" style="background-color: #fff;border-color: #fff;">
		<div class="container">
			<div class="navbar-header">
				<a class="navbar-brand" href="#" style="font-size: 20px;">CloudCMS</a>
			</div>
		</div>
	</div>
	<div class="container panel" style="margin-top: 70px;padding-bottom: 20px;height:580px;">
		{{if !empty($info)}}
		{{include file="admin/admin_info.tpl"}}
		{{/if}}
		{{block name='content'}}
		<form method="POST" action="{{site_url("admin/LoginApi")}}" class="form-sign" role="form" class="form-sign">
			<h2 class="form-signin-heading" style="margin-bottom: 20px;text-align:center;">管理员登录</h2>
			<input name="UserName" value="" type="text" class="form-control" placeholder="用户名" required="" autofocus="" style="margin-bottom: 30px;">
			<input name="Password" type="password" class="form-control" placeholder="密码" required="" style="margin-bottom: 30px;">
			<div class="alert alert-warning alert-dismissable hidden">
				<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
				<strong></strong>
			</div>
			<button class="btn btn-lg btn-primary btn-block" type="submit">登 录</button>
		</form>
		{{/block}}
		{{include file="admin/admin_modal.tpl"}}
	</div>
	<script src="{{base_url()}}Public/js/jquery-1.11.1.min.js"></script>
	<script src="{{base_url()}}Public/bootstrap/js/bootstrap.min.js"></script>
	<script src="{{base_url()}}Public/js/index.js"></script>
	<script>
		function modal(href)
		{
			$('#delete-url').attr('href',href);
			$('#myModal').modal();
		}
	</script>
</body>
</html>
